<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none;
        }

        #app {
           height: 896px;
            padding: 20px;
            background-color: aqua;
        }

        .title {
            margin-top: 50px;
        }

        .inputText input {
            outline: none;
            border: 0;
            border-bottom: 1px solid gray;
            color: gray;
            line-height: 40px;
            width: 100%;
            margin-top: 20px;
        }

        .reset {
            margin-top: 40px;
            margin-bottom: 20px;
        }

        .reset button {
            width: 100%;
            line-height: 40px;
            border-radius: 20px;
            background-color: #e0e0e0;
        }

        .phone {
            display: flex;
            justify-content: space-between;
            color: #76bfee;
        }

        .foot {
            position: fixed;
            bottom: 100px;
            left: 50%;
            margin-left: -175px;
        }
    </style>
</head>

<body>
    <div id="app">
        <div class="title">
            <h2>密码登录</h2>
        </div>
        <div class="inputText">
            <input type="text" placeholder="手机/用户名" v-model="form.phone">
            <br>
            <input type="text" placeholder="密码" v-model="form.pass">
        </div>
        <div class="reset">
            <button @click="login">登录</button>
        </div>
        <div class="phone">
            <span>手机号登录</span>
            <span>忘记密码</span>
        </div>
        <div class="foot">
            <input type="checkbox">已阅读并同意<a href="">《用户服务协议》、《隐私政策》</a>
        </div>

    </div>
</body>

</html>
<script src="./vue-2.5.21.js"></script>
<script>
    var v = new Vue({
        el: '#app',
        data: {
            form:{phone:'admin', pass:'1234'},
            form2:{}
        },
        methods:{
            login(){
                this.login2()
            },
            login2(){

            }
        },
    })
</script>